﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class AccountTypeDTO
    {
        /// <summary>
        /// Mã loại tài khoản
        /// </summary>
        private int m_ACCOUNT_TYPE_ID;
        public int ACCOUNT_TYPE_ID
        {
            get { return m_ACCOUNT_TYPE_ID; }
            set { m_ACCOUNT_TYPE_ID = value; }
        }

        /// <summary>
        /// Tên loại tài khoản
        /// </summary>
        private string m_ACCOUNT_TYPE_NAME;
        public string ACCOUNT_TYPE_NAME
        {
            get { return m_ACCOUNT_TYPE_NAME; }
            set { m_ACCOUNT_TYPE_NAME = value; }
        }

        /// <summary>
        /// Cho phép quản lý tài khoản
        /// </summary>
        private bool m_ALLOW_ACCOUNT_MANAGEMENT;
        public bool ALLOW_ACCOUNT_MANAGEMENT
        {
            get { return m_ALLOW_ACCOUNT_MANAGEMENT; }
            set { m_ALLOW_ACCOUNT_MANAGEMENT = value; }
        }

        /// <summary>
        /// Cho phép tiếp nhận hồ sơ đăng ký
        /// </summary>
        private bool m_ALLOW_TEAM_REGISTRATION;
        public bool ALLOW_TEAM_REGISTRATION
        {
            get { return m_ALLOW_TEAM_REGISTRATION; }
            set { m_ALLOW_TEAM_REGISTRATION = value; }
        }

        /// <summary>
        /// Cho phép quản lý thông tin cầu thủ
        /// </summary>
        private bool m_ALLOW_PLAYER_INFORMATION_MANAGEMENT;
        public bool ALLOW_PLAYER_INFORMATION_MANAGEMENT
        {
            get { return m_ALLOW_PLAYER_INFORMATION_MANAGEMENT; }
            set { m_ALLOW_PLAYER_INFORMATION_MANAGEMENT = value; }
        }

        /// <summary>
        /// Cho phép quản lý kết quả trận đấu
        /// </summary>
        private bool m_ALLOW_MATCH_RESULT_MANAGEMENT;
        public bool ALLOW_MATCH_RESULT_MANAGEMENT
        {
            get { return m_ALLOW_MATCH_RESULT_MANAGEMENT; }
            set { m_ALLOW_MATCH_RESULT_MANAGEMENT = value; }
        }

        /// <summary>
        /// Cho phép thay đổi tiêu chí xếp hạng
        /// </summary>
        private bool m_ALLOW_CHANGE_RANKING_PRIORITY;
        public bool ALLOW_CHANGE_RANKING_PRIORITY
        {
            get { return m_ALLOW_CHANGE_RANKING_PRIORITY; }
            set { m_ALLOW_CHANGE_RANKING_PRIORITY = value; }
        }
        /// <summary>
        /// Cho phép thay đổi tham số hệ thống
        /// </summary>
        private bool m_ALLOW_CHANGE_PARAMENTER;
        public bool ALLOW_CHANGE_PARAMENTER
        {
            get { return m_ALLOW_CHANGE_PARAMENTER; }
            set { m_ALLOW_CHANGE_PARAMENTER = value; }
        }
        /// <summary>
        /// Cho phép tìm kiếm cầu thủ
        /// </summary>
        private bool m_ALLOW_PLAYER_INFORMATION_SEARCHING;
        public bool ALLOW_PLAYER_INFORMATION_SEARCHING
        {
            get { return m_ALLOW_PLAYER_INFORMATION_SEARCHING; }
            set { m_ALLOW_PLAYER_INFORMATION_SEARCHING = value; }
        }

        /// <summary>
        /// Cho phép lập lịch thi đấu
        /// </summary>
        private bool m_ALLOW_CREATE_MATCH_SCHEDULE;
        public bool ALLOW_CREATE_MATCH_SCHEDULE
        {
            get { return m_ALLOW_CREATE_MATCH_SCHEDULE; }
            set { m_ALLOW_CREATE_MATCH_SCHEDULE = value; }
        }

        /// <summary>
        /// Cho phép lập báo cáo giải
        /// </summary>
        private bool m_ALLOW_CREATE_LEAGUE_REPORT;
        public bool ALLOW_CREATE_LEAGUE_REPORT
        {
            get { return m_ALLOW_CREATE_LEAGUE_REPORT; }
            set { m_ALLOW_CREATE_LEAGUE_REPORT = value; }
        }
    }

    public static class AccountTypeColumns
    {
        public static string ACCOUNT_TYPE_ID = "ACCOUNT_TYPE_ID";
        public static string ACCOUNT_TYPE_NAME = "ACCOUNT_TYPE_NAME";
        public static string ALLOW_ACCOUNT_MANAGEMENT = "ALLOW_ACCOUNT_MANAGEMENT";
        public static string ALLOW_TEAM_REGISTRATION = "ALLOW_TEAM_REGISTRATION";
        public static string ALLOW_PLAYER_INFORMATION_MANAGEMENT = "ALLOW_PLAYER_INFORMATION_MANAGEMENT";
        public static string ALLOW_MATCH_RESULT_MANAGEMENT = "ALLOW_MATCH_RESULT_MANAGEMENT";
        public static string ALLOW_CHANGE_RANKING_PRIORITY = "ALLOW_CHANGE_RANKING_PRIORITY";
        public static string ALLOW_CHANGE_PARAMENTER = "ALLOW_CHANGE_PARAMENTER";
        public static string ALLOW_PLAYER_INFORMATION_SEARCHING = "ALLOW_PLAYER_INFORMATION_SEARCHING";
        public static string ALLOW_CREATE_MATCH_SCHEDULE = "ALLOW_CREATE_MATCH_SCHEDULE";
        public static string ALLOW_CREATE_LEAGUE_REPORT = "ALLOW_CREATE_LEAGUE_REPORT";
    }
}
